package ga.wavaplayer.events {
	import flash.events.Event;
	
	public class WNetEvent extends Event {
		
		public static const BANDWIDTH_CHECK_DONE:String = 'wnet.bandwidth_check_done';
		public static const BANDWIDTH_CHECK:String = 'wnet.bandwidth_check';
		public static const CONNECTED:String = 'wnet.connected';
		public static const CONNECTION_FAILED:String = 'wnet.connection_failed';
		public static const META_DATA:String = 'wnet.meta_data';
		public static const READY:String = 'wnet.ready';
		public static const LOADED:String = 'wnet.loaded';
		
		public function WNetEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false) { 
			super(type, bubbles, cancelable);
		} 
		
		public override function clone():Event { 
			return new WNetEvent(type, bubbles, cancelable);
		} 
		
		public override function toString():String { 
			return formatToString("WNetEvent", "type", "bubbles", "cancelable", "eventPhase"); 
		}
	}
}
